//
//  UINavigationItem+BackBarItem.m
//  可可旅行
//
//  Created by dllo on 15/10/11.
//  Copyright © 2015年 直到世界的尽头. All rights reserved.
//

#import "UINavigationItem+BackBarItem.h"

@implementation UINavigationItem (BackBarItem)

-(UIBarButtonItem *)backBarButtonItem
{
    UIBarButtonItem *backItem = [[UIBarButtonItem alloc] init];
    backItem.title = @"返回";
//    [backItem setTintColor:[UIColor whiteColor]];
//    backItem.tintColor = [UIColor whiteColor];
//    [backItem setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor whiteColor]} forState:UIControlStateNormal];
    return backItem;
}

@end
